﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MessageList.aspx.cs" Inherits="Manage_WebPages_Message_MessageList" %>

<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager, Version=7.4.2.0, Culture=neutral, PublicKeyToken=fb0a0fe055d40fd4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../../js/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <link href="../../js/bootstrap/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="../../js/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <script src="../../js/Common.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
    <div>
        <table class="table table-hover table-bordered table-striped">
            <thead>
            <tr>
                <th>
                    标题
                </th>
                <th style="width: 180px">
                    发布时间
                </th>
            </tr>
            </thead>
            <tbody>
            <asp:Repeater ID="rptList" runat="server">
                <ItemTemplate>
                    <tr>
                        <td>
                            <a href="#" onclick="openDialogResize('MessageView.aspx?id=<%#Eval("M_Id").ToString() %>', 600, 600)">
                            </a>
                        </td>
                        <td>
                            <%#Convert.ToDateTime(Eval("M_Time").ToString()).ToString("yyyy-MM-dd HH:mm") %>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            </tbody>
        </table>
        <div class="pagin fr">
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="10" FirstPageText="首页"
                                  LastPageText="尾页" NextPageText="后页" PrevPageText="前页" NumericButtonCount="9"
                                  OnPageChanged="AspNetPager1_PageChanged" ShowPageIndexBox="Never">
                >
            </webdiyer:AspNetPager>
        </div>
    </div>
</form>
</body>
</html>